package com.sh.data.engine.application.model.dto.normalization.index;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @author : changkong
 * @date : 2022/12/14
 */
@Data
@Schema(description = "算盘CDM-指标开发-新建表开发")
@NoArgsConstructor
@AllArgsConstructor
public class QuotaDevSourceTableResponse {

    @Schema(description = "表名")
    private String name;

    @Schema(description = "描述")
    private String desc;

    @Schema(description = "tblId")
    private Long tblId;

    @Schema(description = "维度字段-字段名称,类型,注释")
    private List<Field> fields;

    @Data
    @NoArgsConstructor
    @AllArgsConstructor
    static class Field {
        private String fieldName;
        private String fieldType;
        private String fieldComment;
    }
}
